package com.iotechn.unimall.data.enums;

import com.dobbinsoft.fw.core.enums.BaseEnums;

public enum ArticleType implements BaseEnums<Integer> {
    UNPUBLISHED(0,"未发布"),
    HAVE_PUBLISHED(1,"已发布"),
    DRAFT(2,"草稿"),
    REVOCATION(3,"撤回");

    ArticleType(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private int code;

    private String msg;

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
